{% extends "base.html" %}

{% block title %}{{ title }}{% endblock %}

{% block content %}
<h1>{{ title }}</h1>
<form action="{{ action }}" method="post">
{% if error %}{{error}}{%endif%}
{% csrf_token %}
<table class="dodajForm">
{{ form.as_table}}
</table>
<input type="submit" value="{{title}}" />
</form>

{% endblock %}
